package com.bt7274.service;

import com.bt7274.pojo.Post;
import com.bt7274.pojo.bo.PostBO;
import com.bt7274.pojo.bo.PostListBO;
import com.bt7274.pojo.vo.PostDetailVO;
import com.bt7274.pojo.vo.PostListVO;

import java.io.IOException;
import java.util.List;

public interface EsService {


    List<String> searchPostIdsByKeywordAndAuthor(String keyword, String author) throws IOException;
    void createOrUpdateEsPost(Post post, String userName) throws IOException;
    void deleteEsPost(String postId) throws IOException;
}
